/*人机验证panel*/
.validate-get{
    box-sizing: border-box;
    background-color: #b8ebc78c;
    color: #a3b9eb;
    width: 80px;
    height: 36px;
    line-height: 22px;
    padding: 5px;
    text-align: center;
    border:2px #29a49e8c solid;
    border-radius: 4px;
    cursor: pointer;
    width: 30%;
    font-size: 14px;
}
.validate-get:hover{
    background-color:#ace2bc ;
    color:#5e6df3;
}
.before-send {
    display: none;
    position: absolute;
    top: -100px;
    right: -180px;
    border-radius: 10px;
    background-color: white;
    padding:10px;
}

.before-send-top {
    height: 40px;
    margin-top: 5px;
}

.before-send-top div {
    float: left;
    margin-left: 10px;
    line-height: 40px;
    text-align: center;
}

.before-send-top div span {
    color: #3685e7;
}

.before-send-top img {
    width: 120px;
    height: 40px;
    float: right;
    margin-left: 10px;
    margin-right: 10px;
}

.before-send-body {
    padding: 5px;
    width: 280px;
    height: 280px;
}

.before-send-body .validate-zone {
    position: relative;
    background-image: url("");
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    cursor: default;
    z-index: 20;
}

.before-send-body .validate-zone .item-box {
    position: absolute;
}

.before-send-body .validate-zone .item-text {
    display: block;
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    font-weight: bold;
    background-image: url("/lib/captcha/validate/icons/bk-font-item.png");
    background-size: 100% 100%;
    background-repeat: no-repeat;
    /* transform: translate(-50%, -50%); */
}

.before-send-body .validate-zone .validate-order {
    position: absolute;
    width: 30px;
    height: 30px;
    box-sizing: border-box;
    color: white;
    line-height: 24px;
    text-align: center;
    border-radius: 50%;
    background-color: #539ffe;
    border: 3px white solid;
    font-size: 18px;
    font-weight: bold;
    transform: translate(-50%, -50%);
}

.before-send-body .validate-zone .validate-tooMuch {
    position: absolute;
    width: 96%;
    height: 65%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #ffffff;
    border: 1px #d4d4d4 solid;
    border-radius: 2px;
    z-index: 3;
    box-shadow: 0px 3px 6px 0px #9eace2;
}

.before-send-body .validate-zone .tooMuch-icon {
    background-image: url("/lib/captcha/validate/icons/stop.png");
    background-repeat: no-repeat;
    width: 30px;
    height: 30px;
    margin-top: 20px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    background-size: 100% 100%;
    border-radius: 50%;
    box-shadow: 0px 0px 7px #e75870;
}

.before-send-body .validate-zone .tooMuch-text {
    width: 100%;
    height: 30px;
    margin-top: 60px;
    text-align: center;
    line-height: 30px;
    color: #909090;
}

.before-send-body .validate-zone .tooMuch-btn {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 10px;
    height: 36px;
    width: 96%;
    border-radius: 2px;
    background-color: #808cfc;
    color: #e8ebf4;
    font-size: 14px;
    line-height: 36px;
    text-align: center;
}

.before-send-body .validate-zone .tooMuch-btn:hover {
    background-color: #6c78e4;
}

.before-send-bottom {
    height: 30px;
    padding: 5px;
}

.before-send-bottom #validate-close {
    position: relative;
    float: left;
    height: 30px;
    width: 30px;
    background-image: url("/lib/captcha/validate/icons/close.png");
    background-repeat: no-repeat;
    background-size: 100% 100%;
}

.before-send-bottom #validate-close:hover:before {
    display: block;
    position: absolute;
    top: -8px;
    left: 14px;
    content: '';
    border-style: solid;
    border-width: 4px 6px;
    border-color: #5F5F5F transparent transparent #5F5F5F;
    width: 0;
    height: 0;
    z-index: 999;
}

.before-send-bottom #validate-close:hover:after {
    display: block;
    position: absolute;
    width: 48px;
    line-height: 22px;
    padding: 0px 4px;
    font-size: 12px;
    height: 22px;
    left: 14px;
    top: -26px;
    content: '关闭验证';
    color: #f7f7f7;
    background-color: #5f5f5f;
    border-radius: 2px;
    z-index: 999;
}

.before-send-bottom #validate-refresh {
    position: relative;
    float: left;
    margin-left: 10px;
    height: 30px;
    width: 30px;
    background-image: url("/lib/captcha/validate/icons/refresh.png");
    background-repeat: no-repeat;
    background-size: 100% 100%;
}

.before-send-bottom #validate-refresh:hover:before {
    display: block;
    position: absolute;
    top: -8px;
    left: 14px;
    content: '';
    border-style: solid;
    border-width: 4px 6px;
    border-color: #5F5F5F transparent transparent #5F5F5F;
    width: 0;
    height: 0;
    z-index: 999;
}

.before-send-bottom #validate-refresh:hover:after {
    display: block;
    position: absolute;
    width: 48px;
    line-height: 22px;
    padding: 0px 4px;
    font-size: 12px;
    height: 22px;
    left: 14px;
    top: -26px;
    content: '刷新验证';
    color: #f7f7f7;
    background-color: #5f5f5f;
    border-radius: 2px;
    z-index: 999;
}

.before-send-bottom #validate-submit {
    float: right;
    width: 80px;
    height: 30px;
    margin-top: -2.5px;
    color: #c5d4fb;
    background-color: #808cfc;
    line-height: 30px;
    text-align: center;
    cursor: pointer;
    border-radius: 5px;
}

.before-send .validate-result-success {
    position: absolute;
    background-color: greenyellow;
    color: green;
    width: 100%;
    height: 20px;
    line-height: 20px;
    text-align: center;
    z-index: 2;
    bottom: 0px;
    animation: upFloat 2s;
}

.before-send .validate-result-fail {
    position: absolute;
    background-color: #f9cac2;
    color: #f13a3a;
    width: 100%;
    height: 20px;
    line-height: 20px;
    text-align: center;
    z-index: 2;
    bottom: 0px;
    animation: upFloat 1.5s;
}

.before-send-bottom #validate-submit:hover {
    box-sizing: border-box;
    background-color: #5e6df3;
}


/*增加动画效果*/

@keyframes upFloat {
    0% {
        bottom: -20px;
    }
    100% {
        bottom: 0px;
    }
}

@keyframes tremble {
    10% {
        transform: translateX(-20px);
    }
    20% {
        transform: translateX(20px);
    }
    30% {
        transform: translateX(-15px);
    }
    40% {
        transform: translateX(15px);
    }
    50% {
        transform: translateX(-10px);
    }
    60% {
        transform: translateX(10px);
    }
    70% {
        transform: translateX(-5px);
    }
    80% {
        transform: translateX(5px);
    }
    90% {
        transform: translateX(-2px);
    }
    100% {
        transform: translateX(0px);
    }
}